package com.mlj.dao;

import com.mlj.pojo.Admin;
import com.mlj.pojo.Bed;
import java.util.List;
import java.util.Map;

public interface BedMapper {
    int deleteByPrimaryKey(Integer bedId);

    int insert(Bed record);

    Bed selectByPrimaryKey(Integer bedId);

    List<Bed> selectAll();

    int updateByPrimaryKey(Bed record);

    List<Bed> findBedListByPage(Integer start, Integer limit);

    Integer selectCount();

    void delBedById(Integer id);

    void deleteBatch(Integer[] ids);

    void insertBed(Bed bed);

    List<Admin> searchBedByKw(Map<String, Object> paraMaps);

    Integer searchCountByKw(Map<String, Object> paraMaps);

    List<Bed> getHeader(Integer bedDormitory, String bedApartment);
}